package org.akomantoso.core.data.attribute;

import java.util.Calendar;

/**
 * The attribute date is used to give a normalized value for a date according to the XSD syntax YYYY-MM-DD.
 * 
 * <pre>
 * 	<xsd:attributeGroup name="date">
 * 		<xsd:attribute name="date" type="xsd:date" use="required"/>
 * 	</xsd:attributeGroup>
 * </pre>
 * 
 * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a>
 * 
 * @since http://www.akomantoso.org/1.0
 */
public interface Date {

	public static final String ATTRIBUTE = "date";
	
	Calendar getDate();
	
	void setDate(Calendar date);
	
}